<script type="text/javascript">
$(function(){
	var pg = App.base.serverMonitor.ui, pp = pg.params
		, box = pg.children('iframe')
		// 由自定义网关负责将此URL请求转发给远程的Grafana
		, url = '/grafana/d/AaQb_Y5Mk/zhu-ji-jian-kong?orgId=1&refresh=30s';
	// 
	url += '&_target=' + pp.server.ip;
	console.info(url);
	box.attr('src', url);
	
	pg.seek('node').text(pp.server.ip);

	function adjust(){
		var h = pg.parent().height();
		box.height(h - 32);
		pg.height(h);
	}
	$(window).resize(adjust);
	adjust();
});
</script>
<div class="head">
	<span class="a" name="back">返回</span>
	&gt;&gt;
	<span name="node">远程节点</span>
	&gt;&gt;
	<span name="title">服务器监控</span>
</div>
<iframe style="width: 100%" src=""></iframe>